﻿using ApplicationModels.A02.Identities;
using Commons.Responses;
using EntityModels.E02.Identities;

namespace IApplicationServices
{
    public interface IUserService:IBaseApplicationService<Guid,AppUser,AppUserAM>
    {
        Task<MessageResponse> Lockout(Guid id);
        Task<MessageResponse> UpdateAvatar(AppUserAM user);
        /// <summary>
        /// 通过用户Id获取用户头像
        /// </summary>
        /// <param name="userId"></param>
        /// <returns></returns>
        Task<string> GetAvatarByUserIdAsync(Guid userId);
    }
}
